package com.code.bolg.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix="sys")
public class SysConfig {
    /*
     * 上传图片存储路径
     *
     */
    private  String uploadPath;
    /*
     * http访问路径
     */
    private  String imgPath;
    /*
     * 缩略图http访问半路径
     */
    private  String layerPath;
    /*
     * 原图http访问半路径
     */
    private  String srcPath;
    /*
     * 原图
     */
    private  String breviaryPath;
    /*
    * 缩略图路径
    */
    private  String artworkPath;

    /*
     * 会被压缩文件名的后缀
     */
    private List<String> imgtypes;

}
